//==============================================================================
//
// File: Constants.h
// Project: Browser
// Author(s): Matthias Van Eeghem (matthias@van-eeghem.com)
// License: See LICENSE in root directory
//
// This class holds all constants for the application.
//
//==============================================================================

#ifndef CONSTANTS_H
#define CONSTANTS_H

#define MASTERLIST_HOST     "http://matthias.van-eeghem.com"
#define INTERNETLIST_PATH   "/dev/samp/MasterList/InternetList.php"
#define SERVERINFO_PATH     "/dev/samp/MasterList/GetServerInfo.php?ip="

#define COLUMN_HOSTNAME 0
#define COLUMN_PLAYERS  1
#define COLUMN_VERSION  2
#define COLUMN_IP       3

#define TAB_FAVORITELIST 0
#define TAB_INTERNETLIST 1

#define SERVER_SEPERATOR     '&'
#define SERVERDATA_SEPERATOR '|'

#define MAX_PLAYER_NAME 15

#endif // CONSTANTS_H
